<template>
    <div class="box">
      <CKButton type="primary" @click="handleClick">按钮事件</CKButton>
    </div>
  </template>

  <script setup>
  import { CKButton } from '@pgh-big-screen/vue-ui'

  const handleClick = () => {
    console.log('按钮被点击了')
    alert("按钮被点击了")
  }

  defineOptions({
    name: 'EventButtonDemo'
  })
  </script>